package com.es.easystoragesimulatedata.model;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 省份分布数据模型
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "省份分布数据模型")
public class ProvinceDistribution {
    
    @JsonProperty("province")
    @Schema(description = "省份名称", example = "河北省")
    private String province;
    
    @JsonProperty("count")
    @Schema(description = "电站数量", example = "3")
    private Integer count;
    
    @JsonProperty("percentage")
    @Schema(description = "占比百分比", example = "23.08")
    private Double percentage;
}
